/* 详情页样式 */
.title{
    font-size: 20px;
    font-weight: bold;
}
.container{
    margin: 86px 0 0;
    display: flex;
    overflow: visible;
    align-items: flex-start;
    justify-content: center;
    width: auto;
}
.inner{
    width: 768px;
    background-color: #fff;
    padding: 16px 24px;
    flex-shrink: 0;
}

.inner p,
.inner li{
    line-height: 30px;
}

.inner pre,
.inner code{
    margin: 16px 0;
    font-family: 'PT Mono', consolas, Menlo, "PingFang SC", "Microsoft YaHei", monospace;
    line-height: 30px;
}

.inner h1,
.inner h2,
.inner h3,
.inner h4,
.inner h5,
.inner h6{
    margin: 10px 0;
}

.h1{
    padding-left: 12px;
}
.h2{
    padding-left: 30px;
}
.h3{
    padding-left: 48px;
}
.h4{
    padding-left: 66px;
}
.h5{
    padding-left: 84px;
}
.h6{
    padding-left: 100px;
}

/* 侧边导航栏 */
#nav-right{
    position: sticky;
    position: -webkit-sticky;
    top: 80px;
    margin-left: 24px;
    width: 300px;
    height: auto;
    /*max-height: 400px;*/
    border-left: 1px solid #dddee1;
}

#nav-right h3{
    margin: 0 0 16px 0;
    padding-left: 12px;
}

#nav-right li{
    line-height: 26px;
    font-size: 14px;
    cursor: pointer;
    color: #808695;
    list-style: circle;
}

#nav-right li:hover{
    color: #515a6e;
    text-decoration: underline;
}
#nav-right li.active{
    color: #000;
    background-color: #dddee1;
}
.arts{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.arts div{
    border: 1px solid #eee;
    padding: 8px;
}
